// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-pagination {
  text-align: center;
  padding-top: 20px;
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

.el-dialog__header {
  // border-bottom: 1px solid #EBEEF5;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown {
  margin-left: 10px;
}

.el-dropdown-menu {
  a {
    display: block
  }
}

.el-dropdown-menu__item {
  margin: 4px 0;
  text-align: center;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-dialog {
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  max-height: calc(100% - 60px - 36px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  .el-dialog__body {
    padding-top: 20px;
    //  flex: 1;
    overflow-y: auto;
    text-align: center;
  }
}

.el-radio__input.is-checked + .el-radio__label {
  color: var(--el-radio-text-color);
}

.el-button.is-plain.el-button--success {
  &:focus {
    background-color: var(--el-button-bg-color, var(--el-color-white));
    color: var(--el-button-text-color, var(--el-text-color-regular));
    border-color: var(--el-button-border-color, var(--el-border-color-base));
  }
}
